package fr.esiag.projet17.persistence.dao;


public interface IDAO<T>{

	/**
	 * @param id
	 * @return
	 */
	T read(Long id);
	
	/**
	 * @param newInstance
	 * @return
	 */
	Long create(T newInstance);
	
	/**
	 * @param transientObject
	 */
	void update(T transientObject);
	
	/**
	 * @param persistentObject
	 */
	void delete(T persistentObject);	
}
